package classThird;

public class Student {
	private String number;
	private String name;
	private char sex;
	private int age;
	public static int count;
	
	public Student(String number,String name,char sex,int age) {
		this.number=number;
		this.name=name;
		this.sex=sex;
		this.age=age;
		count++;
	}
	public String toString() {
		String str=number+","+name+","+sex+","+age;
		return str;
	}
	public String getnumber() {
		return this.number;
	}
	public String getname() {
		return this.name;
	}
	public char getsex() {
		return this.sex;
	}
	public int getage() {
		return this.age;
	}
	
}
